import Main from '@/views/main.vue';
import IFrame from '@/components/IFrame'
import ChildView from '@/components/ChildView'

export default [
    // 项目管理
    {
        path: '/pm',
        name: 'pm',
        meta: {
            icon: 'el-icon-menu',
            title: '项目管理',
            access: ['pm:page']
        },
        component: Main,
        children: [
            {
                path: 'jdl',
                name: 'jdl',
                meta: {
                    icon: 'el-icon-menu',
                    title: '稼动率',
                    access: ['pm:jdl:page']
                },
                component: () =>
                    import ('@/views/pm/jdl/index.vue')
            },
            {
                path: 'project_center',
                name: 'project_center',
                meta: {
                    icon: 'el-icon-menu',
                    title: '项目中心',
                    access: ['pm:project_center:page']
                },
                component: () =>
                    import ('@/views/pm/project_center/index.vue')
            }
        ]
    },
];
